From ec981fd237a50dfc547d8c162b22f4e1a691c9fc Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Wed, 6 Dec 2023 21:07:51 -0500 Subject: Improve responsiveness --- src/app/groups/[groupId]/balances-list.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/app/groups/[groupId]/balances-list.tsx') diff --git a/src/app/groups/[groupId]/balances-list.tsx b/src/app/groups/[groupId]/balances-list.tsx index c0d48b9..26092ec 100644 --- a/src/app/groups/[groupId]/balances-list.tsx +++ b/src/app/groups/[groupId]/balances-list.tsx @@ -20,13 +20,13 @@ export function BalancesList({ balances, participants, currency }: Props) { key={participant.id} className={cn( 'flex', - balances[participant.id]?.total > 0 || 'flex-row-reverse', + balances[participant.id]?.total >= 0 || 'flex-row-reverse', )} >
0 && 'text-right', + balances[participant.id]?.total >= 0 && 'text-right', )} > {participant.name} @@ -34,7 +34,7 @@ export function BalancesList({ balances, participants, currency }: Props) {
0 || 'text-right', + balances[participant.id]?.total >= 0 || 'text-right', )} >
-- cgit v1.3